<include file="__THEME__/header" />
<link rel="stylesheet" href="../Public/poster.css" type="text/css" media="screen" charset="utf-8" />

<script  type="text/javascript" src="../Public/poster.js" ></script>
<link href="__PUBLIC__/js/form_check/type.css" rel="stylesheet" type="text/css" />

<div class="content"><!-- 内容 begin  -->
  <include file="__THEME__/apps" />
  <div class="main"><!-- 画布 begin  -->
  <div class="page_title btmline" style="margin:0 0 10px 0; padding:0 0 10px 0;"> <!-- page_title begin -->
            <div class="left" style="width: 66px;"><span class="headpic50"><a href="__TS__/space/{$poster.uid}"><img src="{$poster['uid']|getUserFace}"></a></span></div>
            <div class="left">
                <h2>{$poster.name}的招贴板</h2>
                <p><a href="__TS__/space/{$poster.uid}">{$poster.name}的个人空间</a> ┊ <a href="__URL__/personal/uid/{$poster.uid}">
                        {$poster.name}的招贴板</a></p>
            </div>
            <div class="c"></div>
        </div><!-- page_title end -->
  <div class="groupBox">
    <div class="boxL">
  	<div class="box1" style="width:100%;">
    <div class="lh30" style="padding-left:20px;"><span class="right"><php>if($admin){</php><a href="#"> <a href="__URL__/editPoster/id/{$poster.id}/typeId/{$poster.pid}">修改</a> ┊ <a href="javascript:deletePoster({$poster.id})">删除</a><php>}</php></span><img src="../Public/images/ico/{$type.ico}" class="alM mr5" style="width:24px; height:24px;"><strong>{$poster.posterType}  {$poster.title} </strong></div>
  		<div class="info btmlineD">
        <div class="list">
        <ul>
          <li><div class="c1">发布者：</div><div class="c2"><a href="__TS__/space/{$poster.uid}">{$poster.name}</a></div></li>
          <li><div class="c1"> 发布时间：</div>
            <div class="c2"><php>echo date('Y年n月j日',$poster['cTime'])</php></div>
          </li>
          
          <li><div class="c1"> 截止时间：</div>
            <div class="c2"><php>echo date('Y年n月j日',$poster['deadline'])</php></div>
          </li>
          <php>if(!empty($poster['posterSmallType'])){</php>
	          <li><div class="c1"> {$type.type}：</div>
	            <div class="c2">{$poster.posterSmallType}</div>
	          </li>
          <php>}</php>
          <li><div class="c1"> 地区：</div>
            <div class="c2">{$poster.address}</div>
          </li>
          <li><div class="c1"> 联系方式：</div>
            <div class="c2">{$poster.contact}</div>
          </li>
          <volist name="extraField" k="key" id="vo">
                   <php>if(!empty($poster[$vo])){</php>
                    <li><div class="c1"> {$key}：</div>
                        <div class="c2">{$poster[$vo]}</div>
                    </li>
                    <php>}</php>
          </volist>
          <?php if( $poster['deadline']<=time()){ ?>
          <li>
          <span class="cGreen lh35">此{$poster.posterType}已经超过有效期</span>
          </li>
                    <?php } ?>
        </ul>
        <div id="poster" class="box1" style="margin-top:8px;">
            {$poster.content|stripslashes}
    </div>
        </div>  
        <div class="img"><php>if(!empty($poster['cover'])){</php><img src="<php>echo C( 'TS_URL' );</php>/thumb.php?url={$poster.cover}&w=200&h=200" /><php>}</php></div>

        <div class="c"></div>
        </div>
    </div>
    <div  style="width:630px">{:W('Comment',array( 'type'=>'poster','appid'=>$poster['id'],'mid'=>$poster['uid'],"face"=>getUserFace( $mid )))}</div>
      
    </div> <!-- end  -->
 </div>
  </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />



